projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ec29d0
)
Fix stipple bitmap caching on Haiku
author
Po Lu
<luangruo@yahoo.com>
Mon, 9 May 2022 02:52:16 +0000
(
02:52
+0000)
committer
Po Lu
<luangruo@yahoo.com>
Mon, 9 May 2022 02:52:16 +0000
(
02:52
+0000)
* src/image.c (image_create_bitmap_from_file): Set file name on
the bitmap rec on Haiku.
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index 6cd0aa48cfc7424c4d633f2af847e6b00ff90c8d..0c14173d8332e1ed80741d3e5f41d5c721504b06 100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-781,7
+781,7
@@
image_create_bitmap_from_file (struct frame *f, Lisp_Object file)
dpyinfo->bitmaps[id - 1].img = bitmap;
dpyinfo->bitmaps[id - 1].depth = 1;
- dpyinfo->bitmaps[id - 1].file =
NULL
;
+ dpyinfo->bitmaps[id - 1].file =
xlispstrdup (file)
;
dpyinfo->bitmaps[id - 1].height = height;
dpyinfo->bitmaps[id - 1].width = width;
dpyinfo->bitmaps[id - 1].refcount = 1;